//
//  SmallDecisionsHomeTitleHeaderReusableView.m
//  SmallDecisions
//
//  Created by 李付雄 on 2025/8/17.
//

#import "SmallDecisionsHomeTitleHeaderReusableView.h"

@implementation SmallDecisionsHomeTitleHeaderReusableView
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if(self) {
        [self createSmallDecisionsHomeHeaderReusableViewSubviewsUI];
    }
    return self;
}

- (void)createSmallDecisionsHomeHeaderReusableViewSubviewsUI {
    UILabel *titleLabel = [[UILabel alloc] init];
    titleLabel.text = @"随机选择";
    [titleLabel setTextColor:SmallDecisionsThemeFontColor];
    titleLabel.font = SmallDecisionsSetBoldFontSize(20);
    [self addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.mas_offset(0);
        make.left.mas_offset(20);
    }];
}
@end
